<%@ page contentType="text/html;charset=UTF-8" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>



<h3>Witaj w eDzienniku</h3>

<div style="margin-top: 20px; margin-bottom: 20px">Formularz logowania:</div>
<div style="margin-top: 20px; margin-bottom: 20px; padding: 8px; border: solid 1px red; background-color: #FFDEDE; width: 235px">Nieprawidłowy login lub hasło</div>
<form name='f' action="<c:url value='j_spring_security_check' />"
		method='POST'>
 
		<table>
			<tr>
				<td>Login:</td>
				<td><input type='text' name='j_username' value=''>
				</td>
			</tr>
			<tr>
				<td>Hasło:</td>
				<td><input type='password' name='j_password' />
				</td>
			</tr>
			<tr>
				<td colspan='2'><input name="submit" type="submit"
					value="Zaloguj" />
				</td>
			</tr>
		</table>
 
	</form>